package com.four.service.impl;

import com.four.dao.ShopMapper;
import com.four.pojo.*;
import com.four.service.IShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author version v1.0
 * @ClassName：
 * @Description：
 **/
@Service("shopService")
public class ShopServiceImpl implements IShopService {
    @Autowired
    @Qualifier("shopMapper")
    private ShopMapper shopMapper;


    @Override
    public List<Shops> findAllShop() {
        return shopMapper.findAllShop();
    }
}
